import { Calendar, DatePicker, TimePicker } from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import highlight from 'highlight.js';
import 'highlight.js/styles/default.css';
import { createApp } from 'vue';
import '../assets/font/aliOjIcon.min.js';
import '../assets/font/ojjingjian.min.js';
import '../assets/icon.js';
import '../components/userWorker';
import { Storekey } from "../interface";
import App from '../sassMgmt/App.vue';
import router from '../sassMgmt/router';
import store from '../sassMgmt/store';
highlight.highlightAll()
const app = createApp(App)

import * as ElementPlusIconsVue from '@element-plus/icons-vue';
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(DatePicker).use(TimePicker).use(Calendar)
app.use(ElementPlus, { locale: zhCn, size: 'default' })
  .use(store, Storekey).use(router).mount('#app')


// 是否需要增加 
app.provide('tenant_id', '新华书店')
